projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf75dd
)
test/py: check return code of helloworld
author
Heinrich Schuchardt
<
[email protected]
>
Sun, 26 Nov 2017 13:05:21 +0000
(14:05 +0100)
committer
Alexander Graf
<
[email protected]
>
Fri, 1 Dec 2017 12:39:32 +0000
(13:39 +0100)
Check that helloworld.efi returns EFI_SUCCESS.
Reviewed-by: Simon Glass <
[email protected]
>
Signed-off-by: Heinrich Schuchardt <
[email protected]
>
Signed-off-by: Alexander Graf <
[email protected]
>
test/py/tests/test_efi_loader.py
patch
|
blob
|
history
diff --git
a/test/py/tests/test_efi_loader.py
b/test/py/tests/test_efi_loader.py
index 4d391e13efb90dd0c1250f2f3ec225dde455f5db..906ef2feaaa20838c79a2b7e1d53eb7e74be7d69 100644
(file)
--- a/
test/py/tests/test_efi_loader.py
+++ b/
test/py/tests/test_efi_loader.py
@@
-154,6
+154,8
@@
def test_efi_helloworld_net(u_boot_console):
output = u_boot_console.run_command('bootefi %x' % addr)
expected_text = 'Hello, world'
assert expected_text in output
+ expected_text = '## Application terminated, r = 0'
+ assert expected_text in output
@pytest.mark.buildconfigspec('cmd_bootefi_hello')
def test_efi_helloworld_builtin(u_boot_console):